package org.grow.numberone.service;

import com.alibaba.dubbo.config.annotation.Service;
import org.grow.zero.apis.NumberOneStockService;
import org.grow.zero.dto.StockChangeDto;

/**
 * @Author: xwg
 * @CreateDate: 21-8-18
 */

@Service
public class StockServiceImpl implements NumberOneStockService {


    @Override
    public int updateStock(StockChangeDto stockChangeDto) {
        System.out.println("stockChanged: "+stockChangeDto);
        return 10000;
    }
}
